package com.neu.af.dataFilter.mapper;

import com.neu.af.common.base.BaseMapper;
import com.neu.af.dataFilter.entity.Rule;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RuleMapper extends BaseMapper<String, Rule> {
    List<Rule> getByAlarmClass(String alarmClass);
    int updateByContains(Rule rule);
    int deleteByContains(String contains);
    Rule getByContains(String contains);
    List<Rule> getByContainsLike(String contains);
}
